package com.ruoyi.flow.service;

import com.ruoyi.flow.domain.Machine;
import com.ruoyi.flow.entity.machine.Flow;

import java.util.List;

public interface FlowMachineService {

    List<Machine> getMachines();

    Machine getMachine(String machineId);

    void copyMachine(Machine machine);

    Flow getFlow(String machineId);

    void publish(String machineJson);
}
